<?php if(!defined('HDPHP_PATH'))EXIT;
$db->exe("REPLACE INTO ".$db_prefix."config (`id`,`title`,`name`,`value`,`type`,`info`,`isshow`,`orderlist`,`cgid`)
						VALUES('1','网站名称','WEBNAME','奢品网-奢侈品购物网站','text','','1','100','1')");
$db->exe("REPLACE INTO ".$db_prefix."config (`id`,`title`,`name`,`value`,`type`,`info`,`isshow`,`orderlist`,`cgid`)
						VALUES('2','关键字','KEYWORDS','shop，购物网站，奢侈品','text','','1','100','1')");
$db->exe("REPLACE INTO ".$db_prefix."config (`id`,`title`,`name`,`value`,`type`,`info`,`isshow`,`orderlist`,`cgid`)
						VALUES('3','描述','DESCRIPTION','一个个人制作的奢侈品购物网站','textarea','','1','100','1')");
$db->exe("REPLACE INTO ".$db_prefix."config (`id`,`title`,`name`,`value`,`type`,`info`,`isshow`,`orderlist`,`cgid`)
						VALUES('4','电话','TEL','13170924253','text','','1','100','1')");
$db->exe("REPLACE INTO ".$db_prefix."config (`id`,`title`,`name`,`value`,`type`,`info`,`isshow`,`orderlist`,`cgid`)
						VALUES('5','网站开启','WEBSTATUS','1','radio','1|开启,0|关闭','1','100','1')");
$db->exe("REPLACE INTO ".$db_prefix."config (`id`,`title`,`name`,`value`,`type`,`info`,`isshow`,`orderlist`,`cgid`)
						VALUES('6','网站关闭提示','WEB_CLOSE_MSG','网站正在升级中，请稍后访问','textarea','','1','100','1')");
$db->exe("REPLACE INTO ".$db_prefix."config (`id`,`title`,`name`,`value`,`type`,`info`,`isshow`,`orderlist`,`cgid`)
						VALUES('7','是否开启伪静态','WEB_REWRITE','0','radio','1|开启,0|关闭','1','100','1')");
$db->exe("REPLACE INTO ".$db_prefix."config (`id`,`title`,`name`,`value`,`type`,`info`,`isshow`,`orderlist`,`cgid`)
						VALUES('8','图像水印开关','WATRE_ON','TRUE','radio','TRUE|开启,FALSE|关闭','1','100','2')");
$db->exe("REPLACE INTO ".$db_prefix."config (`id`,`title`,`name`,`value`,`type`,`info`,`isshow`,`orderlist`,`cgid`)
						VALUES('9','水印文字','WATER_TEXT','guokunsheng','text','','1','100','2')");
$db->exe("REPLACE INTO ".$db_prefix."config (`id`,`title`,`name`,`value`,`type`,`info`,`isshow`,`orderlist`,`cgid`)
						VALUES('10','水印文字大小','WATER_TEXT_SIZE','16','text','','1','100','2')");
$db->exe("REPLACE INTO ".$db_prefix."config (`id`,`title`,`name`,`value`,`type`,`info`,`isshow`,`orderlist`,`cgid`)
						VALUES('11','水印图片','WATER_IMG','static/image/water.png','text','','1','100','2')");
$db->exe("REPLACE INTO ".$db_prefix."config (`id`,`title`,`name`,`value`,`type`,`info`,`isshow`,`orderlist`,`cgid`)
						VALUES('12','水印图片透明度','WATER_PCT','80','text','','1','100','2')");
$db->exe("REPLACE INTO ".$db_prefix."config (`id`,`title`,`name`,`value`,`type`,`info`,`isshow`,`orderlist`,`cgid`)
						VALUES('13','图片压缩比','WATER_QUALITY','90','text','','1','100','2')");
$db->exe("REPLACE INTO ".$db_prefix."config (`id`,`title`,`name`,`value`,`type`,`info`,`isshow`,`orderlist`,`cgid`)
						VALUES('14','水印位置','WATER_POS','9','radio','1|左上,2|上中,3|上右,4|中左,5|中间,6|中右,7|左下,8|中下,9|右下,0|随机','1','100','2')");
$db->exe("REPLACE INTO ".$db_prefix."config (`id`,`title`,`name`,`value`,`type`,`info`,`isshow`,`orderlist`,`cgid`)
						VALUES('15','上传目录','UPLOAD_PATH','Upload/','text','','0','100','3')");
$db->exe("REPLACE INTO ".$db_prefix."config (`id`,`title`,`name`,`value`,`type`,`info`,`isshow`,`orderlist`,`cgid`)
						VALUES('16','允许上传文件类型','ALLOW_TYPE','jpg,jpeg,png,bmp,gif,zip,rar,doc','text','','1','100','3')");
$db->exe("REPLACE INTO ".$db_prefix."config (`id`,`title`,`name`,`value`,`type`,`info`,`isshow`,`orderlist`,`cgid`)
						VALUES('17','允许上传大小（字节）','ALLOW_SIZE','10485760','text','','1','100','3')");
$db->exe("REPLACE INTO ".$db_prefix."config (`id`,`title`,`name`,`value`,`type`,`info`,`isshow`,`orderlist`,`cgid`)
						VALUES('18','水印文字颜色','WATER_TEXT_COLOR','#f00f00','text','','1','100','2')");
$db->exe("REPLACE INTO ".$db_prefix."config (`id`,`title`,`name`,`value`,`type`,`info`,`isshow`,`orderlist`,`cgid`)
						VALUES('19','缩略图前缀','THUMB_PREFIX','','text','','1','100','4')");
$db->exe("REPLACE INTO ".$db_prefix."config (`id`,`title`,`name`,`value`,`type`,`info`,`isshow`,`orderlist`,`cgid`)
						VALUES('20','缩略图后缀','THUMB_ENDFIX','_thumb','text','','1','100','4')");
$db->exe("REPLACE INTO ".$db_prefix."config (`id`,`title`,`name`,`value`,`type`,`info`,`isshow`,`orderlist`,`cgid`)
						VALUES('21','缩略图生成方式','THUMB_TYPE','6','radio','1|固定宽度-高度自增,2|固定高度-宽度自增,3|固定宽度-高度裁切,4|固定高度-宽度裁切,5|缩放最大边,6|自动裁切图片','1','100','4')");
$db->exe("REPLACE INTO ".$db_prefix."config (`id`,`title`,`name`,`value`,`type`,`info`,`isshow`,`orderlist`,`cgid`)
						VALUES('22','缩略图宽度','THUMB_WIDTH','300','text','','1','100','4')");
$db->exe("REPLACE INTO ".$db_prefix."config (`id`,`title`,`name`,`value`,`type`,`info`,`isshow`,`orderlist`,`cgid`)
						VALUES('23','缩略图高度','THUMB_HEIGHT','300','text','','1','100','4')");
$db->exe("REPLACE INTO ".$db_prefix."config (`id`,`title`,`name`,`value`,`type`,`info`,`isshow`,`orderlist`,`cgid`)
						VALUES('24','验证码种子','CODE_STR','23456789abcdefghjkmnpqrstuvwsyz','text','','1','100','4')");
$db->exe("REPLACE INTO ".$db_prefix."config (`id`,`title`,`name`,`value`,`type`,`info`,`isshow`,`orderlist`,`cgid`)
						VALUES('25','验证码宽度','CODE_WIDTH','120','text','','1','100','4')");
$db->exe("REPLACE INTO ".$db_prefix."config (`id`,`title`,`name`,`value`,`type`,`info`,`isshow`,`orderlist`,`cgid`)
						VALUES('26','验证码高度','CODE_HEIGHT','35','text','','1','100','4')");
$db->exe("REPLACE INTO ".$db_prefix."config (`id`,`title`,`name`,`value`,`type`,`info`,`isshow`,`orderlist`,`cgid`)
						VALUES('27','验证码背景颜色','CODE_BG_COLOR','#ffffff','text','','1','100','4')");
$db->exe("REPLACE INTO ".$db_prefix."config (`id`,`title`,`name`,`value`,`type`,`info`,`isshow`,`orderlist`,`cgid`)
						VALUES('28','验证码字数','CODE_LEN','4','text','','1','100','4')");
$db->exe("REPLACE INTO ".$db_prefix."config (`id`,`title`,`name`,`value`,`type`,`info`,`isshow`,`orderlist`,`cgid`)
						VALUES('29','验证码字体大小','CODE_FONT_SIZE','20','text','','1','100','4')");
$db->exe("REPLACE INTO ".$db_prefix."config (`id`,`title`,`name`,`value`,`type`,`info`,`isshow`,`orderlist`,`cgid`)
						VALUES('30','验证码字体颜色','CODE_FONT_COLOR','','text','','1','100','4')");
